package com.chapter15.demo1;

public class Client {
    public static void main(String[] args) {
        Greeting greeting = new GreetingImpl();
        Greeting handler = (Greeting) new LogHandler().bind(greeting);
        handler.sayHello("zhangsan");
    }
}
